Skip to content

feat: EventQueue is now a simple interface with single enqueue_event method.#944

Merged
bartek-w merged 1 commit into1.0-devfrom
bartekw-event-queue-simplified
Apr 9, 2026
Merged

feat: EventQueue is now a simple interface with single enqueue_event method.#944
bartek-w merged 1 commit into1.0-devfrom
bartekw-event-queue-simplified

Conversation

@bartek-w
Copy link
Copy Markdown
Collaborator

@bartek-w bartek-w commented Apr 8, 2026

Fixes #869 🦕

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

🧪 Code Coverage (vs 1.0-dev)

⬇️ Download Full Report

Base PR Delta
src/a2a/server/agent_execution/active_task.py 94.65% 94.06% 🔴 -0.59%
src/a2a/server/events/event_queue.py 95.51% 91.01% 🔴 -4.49%
Total 92.32% 92.25% 🔴 -0.07%

Generated by coverage-comment.yml

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request refactors the event queue architecture by migrating functional dependencies and type hints from the EventQueue base class to EventQueueLegacy across the server and test suites. Additionally, it updates event_queue_v2.py to include detailed docstrings with deadlock warnings for the close and aexit methods, while marking is_closed as deprecated. I have no feedback to provide.

@bartek-w bartek-w requested a review from ishymko April 8, 2026 08:29
@bartek-w bartek-w marked this pull request as ready for review April 8, 2026 08:29
@bartek-w bartek-w requested a review from a team as a code owner April 8, 2026 08:29
@bartek-w bartek-w force-pushed the bartekw-event-queue-simplified branch from 57701e5 to aa7bed8 Compare April 8, 2026 08:59
@bartek-w bartek-w force-pushed the bartekw-event-queue-simplified branch 2 times, most recently from f4d3182 to 57f4cdb Compare April 9, 2026 10:12
@bartek-w bartek-w force-pushed the bartekw-event-queue-simplified branch from 57f4cdb to 9064e0c Compare April 9, 2026 10:14
@bartek-w bartek-w merged commit f0e1d74 into 1.0-dev Apr 9, 2026
18 checks passed
@bartek-w bartek-w deleted the bartekw-event-queue-simplified branch April 9, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants